﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VisitorPattern.Visitor;

namespace VisitorPattern.Samples;

internal class TextElement : IDocumentElement
{
    public string? Content { get; set; }
    public void Accept(IVisitorSample visitor)
    {
        visitor.VisitText(this);
    }
}
